package com.knowswift.issues.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.knowswift.common.bean.project.po.Module;
import com.knowswift.common.bean.project.vo.ModuleVO;
import com.knowswift.common.common.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface ModuleMapper extends BaseMapper<Module> {
    Page<ModuleVO> getIssueModuleList(@Param("keyword") String keyword, @Param("i") int i, Page<ModuleVO> page);

    Page<ModuleVO> getList(@Param("keyword") String keyword, @Param("moduleType") Integer moduleType, Page<ModuleVO> page);
}